package com.centaline.androidsalesblog.model.businissobject;

import android.os.Parcel;
import android.os.Parcelable;

import com.google.gson.annotations.SerializedName;

/**
 * 新盘基本信息
 * Created by guilin on 16/2/23.
 */
public class BaseNewPropBo implements Parcelable {

    private String EstId;
    private String EstName;
    private String EstType;
    private String Status;
    private String Fitment;
    private int CityId;
    private int DistrictId;
    private int GScopeId;
    private String RoadName;
    private String Address;
    private double lng;
    private double lat;
    private String LinkPosition;
    private String SalesOffice;
    private String OpDate;
    private String LiveDate;
    private double GreenRatio;
    private double FloorRatio;
    private String MgtCompany;
    private double MgtPrice;
    private String PreSalePermit;
    private String ProjectSupporting;
    private String Traffic;
    private String ProjectIntroduction;
    private String MortgageBank;
    private int PlanArea;
    private int BuildArea;
    private String BuildStartDate;
    private String BuildEndDate;
    private String Developer;
    private String Investors;
    private String ProjectProcess;
    private int PlanUnit;
    private String Agent;
    private String Park;

    @SerializedName("District")
    private NewEstDistrictBo newEstDistrictBo;
    @SerializedName("GScope")
    private NewEstGScopeBo newEstGScopeBo;

    public String getPark() {
        return Park;
    }

    public void setPark(String park) {
        Park = park;
    }

    public String getEstId() {
        return EstId;
    }

    public void setEstId(String estId) {
        EstId = estId;
    }

    public String getEstName() {
        return EstName;
    }

    public void setEstName(String estName) {
        EstName = estName;
    }

    public String getEstType() {
        return EstType;
    }

    public void setEstType(String estType) {
        EstType = estType;
    }

    public String getStatus() {
        return Status;
    }

    public void setStatus(String status) {
        Status = status;
    }

    public String getFitment() {
        return Fitment;
    }

    public void setFitment(String fitment) {
        Fitment = fitment;
    }

    public int getCityId() {
        return CityId;
    }

    public void setCityId(int cityId) {
        CityId = cityId;
    }

    public int getDistrictId() {
        return DistrictId;
    }

    public void setDistrictId(int districtId) {
        DistrictId = districtId;
    }

    public int getGScopeId() {
        return GScopeId;
    }

    public void setGScopeId(int GScopeId) {
        this.GScopeId = GScopeId;
    }

    public String getRoadName() {
        return RoadName;
    }

    public void setRoadName(String roadName) {
        RoadName = roadName;
    }

    public String getAddress() {
        return Address;
    }

    public void setAddress(String address) {
        Address = address;
    }

    public double getLng() {
        return lng;
    }

    public void setLng(double lng) {
        this.lng = lng;
    }

    public double getLat() {
        return lat;
    }

    public void setLat(double lat) {
        this.lat = lat;
    }

    public String getLinkPosition() {
        return LinkPosition;
    }

    public void setLinkPosition(String linkPosition) {
        LinkPosition = linkPosition;
    }

    public String getSalesOffice() {
        return SalesOffice;
    }

    public void setSalesOffice(String salesOffice) {
        SalesOffice = salesOffice;
    }

    public String getOpDate() {
        return OpDate;
    }

    public void setOpDate(String opDate) {
        OpDate = opDate;
    }

    public String getLiveDate() {
        return LiveDate;
    }

    public void setLiveDate(String liveDate) {
        LiveDate = liveDate;
    }

    public double getGreenRatio() {
        return GreenRatio;
    }

    public void setGreenRatio(double greenRatio) {
        GreenRatio = greenRatio;
    }

    public double getFloorRatio() {
        return FloorRatio;
    }

    public void setFloorRatio(double floorRatio) {
        FloorRatio = floorRatio;
    }

    public String getMgtCompany() {
        return MgtCompany;
    }

    public void setMgtCompany(String mgtCompany) {
        MgtCompany = mgtCompany;
    }

    public double getMgtPrice() {
        return MgtPrice;
    }

    public void setMgtPrice(double mgtPrice) {
        MgtPrice = mgtPrice;
    }

    public String getPreSalePermit() {
        return PreSalePermit;
    }

    public void setPreSalePermit(String preSalePermit) {
        PreSalePermit = preSalePermit;
    }

    public String getProjectSupporting() {
        return ProjectSupporting;
    }

    public void setProjectSupporting(String projectSupporting) {
        ProjectSupporting = projectSupporting;
    }

    public String getTraffic() {
        return Traffic;
    }

    public void setTraffic(String traffic) {
        Traffic = traffic;
    }

    public String getProjectIntroduction() {
        return ProjectIntroduction;
    }

    public void setProjectIntroduction(String projectIntroduction) {
        ProjectIntroduction = projectIntroduction;
    }

    public String getMortgageBank() {
        return MortgageBank;
    }

    public void setMortgageBank(String mortgageBank) {
        MortgageBank = mortgageBank;
    }

    public int getPlanArea() {
        return PlanArea;
    }

    public void setPlanArea(int planArea) {
        PlanArea = planArea;
    }

    public int getBuildArea() {
        return BuildArea;
    }

    public void setBuildArea(int buildArea) {
        BuildArea = buildArea;
    }

    public String getBuildStartDate() {
        return BuildStartDate;
    }

    public void setBuildStartDate(String buildStartDate) {
        BuildStartDate = buildStartDate;
    }

    public String getBuildEndDate() {
        return BuildEndDate;
    }

    public void setBuildEndDate(String buildEndDate) {
        BuildEndDate = buildEndDate;
    }

    public String getDeveloper() {
        return Developer;
    }

    public void setDeveloper(String developer) {
        Developer = developer;
    }

    public String getInvestors() {
        return Investors;
    }

    public void setInvestors(String investors) {
        Investors = investors;
    }

    public String getProjectProcess() {
        return ProjectProcess;
    }

    public void setProjectProcess(String projectProcess) {
        ProjectProcess = projectProcess;
    }

    public int getPlanUnit() {
        return PlanUnit;
    }

    public void setPlanUnit(int planUnit) {
        PlanUnit = planUnit;
    }

    public String getAgent() {
        return Agent;
    }

    public void setAgent(String agent) {
        Agent = agent;
    }

    public NewEstDistrictBo getNewEstDistrictBo() {
        return newEstDistrictBo;
    }

    public void setNewEstDistrictBo(NewEstDistrictBo newEstDistrictBo) {
        this.newEstDistrictBo = newEstDistrictBo;
    }

    public NewEstGScopeBo getNewEstGScopeBo() {
        return newEstGScopeBo;
    }

    public void setNewEstGScopeBo(NewEstGScopeBo newEstGScopeBo) {
        this.newEstGScopeBo = newEstGScopeBo;
    }

    @Override
    public int describeContents() {
        return 0;
    }

    @Override
    public void writeToParcel(Parcel dest, int flags) {
        dest.writeString(this.EstId);
        dest.writeString(this.EstName);
        dest.writeString(this.EstType);
        dest.writeString(this.Status);
        dest.writeString(this.Fitment);
        dest.writeInt(this.CityId);
        dest.writeInt(this.DistrictId);
        dest.writeInt(this.GScopeId);
        dest.writeString(this.RoadName);
        dest.writeString(this.Address);
        dest.writeDouble(this.lng);
        dest.writeDouble(this.lat);
        dest.writeString(this.LinkPosition);
        dest.writeString(this.SalesOffice);
        dest.writeString(this.OpDate);
        dest.writeString(this.LiveDate);
        dest.writeDouble(this.GreenRatio);
        dest.writeDouble(this.FloorRatio);
        dest.writeString(this.MgtCompany);
        dest.writeDouble(this.MgtPrice);
        dest.writeString(this.PreSalePermit);
        dest.writeString(this.ProjectSupporting);
        dest.writeString(this.Traffic);
        dest.writeString(this.ProjectIntroduction);
        dest.writeString(this.MortgageBank);
        dest.writeInt(this.PlanArea);
        dest.writeInt(this.BuildArea);
        dest.writeString(this.BuildStartDate);
        dest.writeString(this.BuildEndDate);
        dest.writeString(this.Developer);
        dest.writeString(this.Investors);
        dest.writeString(this.ProjectProcess);
        dest.writeInt(this.PlanUnit);
        dest.writeString(this.Agent);
        dest.writeParcelable(this.newEstDistrictBo, 0);
        dest.writeParcelable(this.newEstGScopeBo, 0);
    }

    public BaseNewPropBo() {
    }

    protected BaseNewPropBo(Parcel in) {
        this.EstId = in.readString();
        this.EstName = in.readString();
        this.EstType = in.readString();
        this.Status = in.readString();
        this.Fitment = in.readString();
        this.CityId = in.readInt();
        this.DistrictId = in.readInt();
        this.GScopeId = in.readInt();
        this.RoadName = in.readString();
        this.Address = in.readString();
        this.lng = in.readDouble();
        this.lat = in.readDouble();
        this.LinkPosition = in.readString();
        this.SalesOffice = in.readString();
        this.OpDate = in.readString();
        this.LiveDate = in.readString();
        this.GreenRatio = in.readDouble();
        this.FloorRatio = in.readDouble();
        this.MgtCompany = in.readString();
        this.MgtPrice = in.readDouble();
        this.PreSalePermit = in.readString();
        this.ProjectSupporting = in.readString();
        this.Traffic = in.readString();
        this.ProjectIntroduction = in.readString();
        this.MortgageBank = in.readString();
        this.PlanArea = in.readInt();
        this.BuildArea = in.readInt();
        this.BuildStartDate = in.readString();
        this.BuildEndDate = in.readString();
        this.Developer = in.readString();
        this.Investors = in.readString();
        this.ProjectProcess = in.readString();
        this.PlanUnit = in.readInt();
        this.Agent = in.readString();
        this.newEstDistrictBo = in.readParcelable(NewEstDistrictBo.class.getClassLoader());
        this.newEstGScopeBo = in.readParcelable(NewEstGScopeBo.class.getClassLoader());
    }

    public static final Parcelable.Creator<BaseNewPropBo> CREATOR = new Parcelable.Creator<BaseNewPropBo>() {
        public BaseNewPropBo createFromParcel(Parcel source) {
            return new BaseNewPropBo(source);
        }

        public BaseNewPropBo[] newArray(int size) {
            return new BaseNewPropBo[size];
        }
    };
}
